package com.yy.bugzillahelp.tool;

/**
 *
 * @author Alan
 */
public class GenerateUniqueCode {

    public static String generate() {
        return generateUniqueCode();
    }

    public static String generateReferenceCode() {
        return generateUniqueCode();
    }

    public static String generateRvrCode() {
        return generateUniqueCode();
    }

    public static String generateFldId() {
        return generateUniqueCode();
    }

    public static String generateParameterName() {
        return generateUniqueCode();
    }

    public static String generateFigureId() {
        return generateUniqueCode();
    }

    public static String generateHyperlinkId() {
        return generateUniqueCode();
    }

    public static String generateCddmId() {
        return generateUniqueCode();
    }

    public static String generateCategoryId() {
        return generateUniqueCode();
    }

    public static String generateParameterId() {
        return generateUniqueCode();
    }

    public static String generateKey() {
        String light = generateUniqueCode();
        return light;
    }

    public static synchronized String generateUniqueCode() {
        return String.valueOf(System.nanoTime());
    }
}
